package it.polimi.TravelDream.ejb.searchManager;

import it.polimi.TravelDream.ejb.dtos.PackageDTO;

import java.util.Date;
import java.util.List;

import javax.ejb.Local;

@Local
public interface BasicPackageMgr {

	void searchByName();

	void searchByExpirationDate();

	void searchByCity();

	void searchByExpirationDateAndName();

	void searchByExpirationDateAndCity();

	void searchByNameAndCity();

	List<PackageDTO> getPackageResultList();

	String getName();

	void setName(String name);

	String getCity();

	void setCity(String city);

	Date getExpirationDate();

	void setExpirationDate(Date expirationDate);

	void searchByNameCityAndExpirationDate();

	void searchByTravelID();

	int getTravelID();

	void setTravelID(int travelID);

	void searchAllAvailablePackage();

}
